:: 设置目录
@set nuget_d=%~dp0nuget
@set input_d=%~dp0ZLinq
@set output_d=%~dp0output
:: 设置输入输出
@set input=ZLinq.dll
@set output=%input%
@set options=/union /internalize /renameinternalized 
:: 执行命令
@mkdir %output_d%
@ilrepack %options% ^
/out:%output_d%\%output% ^
%input_d%\%input% ^
%nuget_d%\Microsoft.Bcl.Memory.dll ^
%nuget_d%\System.ValueTuple.dll ^
%nuget_d%\System.Memory.dll ^
%nuget_d%\System.Buffers.dll ^
%nuget_d%\System.Numerics.Vectors.dll ^
%nuget_d%\System.Threading.Tasks.Extensions.dll ^
%nuget_d%\System.Runtime.CompilerServices.Unsafe.dll
@pause